﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KissMangaReader;
using MangaManagerLib;
using System.Text.RegularExpressions;
using TestApplication.MangaService;

namespace TestApplication
{
    //http://kissmanga.com/Manga/Dragon-Ball/Dragon-Ball-v001-c001-014--HQ-
    //http://kissmanga.com/Manga/1-8-Square-Meter-no-Himegoto
    class Program
    {
        static void Main(string[] args)
        {
            //MangaService.MangaServiceClient client = new MangaService.MangaServiceClient();
            //IList<string> urls = client.GetDataForChapter("kissmanga", "http://kissmanga.com/Manga/Dragon-Ball/Dragon-Ball-v001-c001-014--HQ-");
            //foreach (string s in urls)
            //{
            //    Console.WriteLine(s);
            //}
            KissMangaReader.KissMangaReader reader = new KissMangaReader.KissMangaReader();
            reader.GetMangaStoryDetail(@"http://kissmanga.com/Manga/Ai-Kara-Hajimaru");
            ////foreach (Chapter c in list)
            ////{
            ////    Console.WriteLine("{0}\t{1}\t{2}", c.Link, c.Title, c.Date);
            ////}
            //MangaService.MangaServiceClient client = new MangaService.MangaServiceClient();
            //MangaService.MangaCollectionContract mangaCoolection = client.GetMangaCollection("kissmanga", @"http://kissmanga.com/MangaList", 1);
          // string url = @"http://kissmanga.com/Manga/Nana-to-Kaoru?confirm=yes";
            //string url = @"http://kissmanga.com/Manga/1-Love-9";
           // string urlHost = "";
           // MangaService.MangaServiceClient client = new MangaService.MangaServiceClient();
            
            //MangaCollectionContract ma = client.GetMangaCollection("vnsharing", url, 1);

            //MangaStoryDetail manga = (new KissMangaReader.KissMangaReader()).GetMangaStoryDetail(url);
           // MangaStoryDetail manga = (new VNSharing.VnSharing()).GetMangaStoryDetail(url);
            //(new VNSharing.VnSharing()).GetMangaCollection(url, 1);
         }
    }
}
